package com.cykj.mapper;

import org.apache.ibatis.annotations.Param;

public interface VisitRecordMapper {
    int selectByPatientId(String examId);
    //查询该用户是否已经写了体检总结 ---》写了，则修改即可，未写，则添加记录
    int selectByExamId(String examId);
    //未写
    int insertInfo(@Param("patientId") int patientId,
                   @Param("adminId") int adminId,
                   @Param("summary") String summary,
                   @Param("examId") String examId);
    //写了
    int updateInfo(@Param("examId") String examId,@Param("summary") String summary);
    int alterOrderStatus(String examId);
}
